package com.czwj.service;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.czwj.entities.UrgentApply;

public interface UrgentApplyService {

	List<UrgentApply> searchbylevel3(Map<String, Object> map);

	int countbylevel3(Map<String, Object> map);

	int update(UrgentApply urgentApply);

	int insert(UrgentApply urgentApply);

	int updateStatus(int id);

	UrgentApply selectByPrimaryKey(int id);

	List<UrgentApply> searchbylevel2(Map<String, Object> map);

	int countbylevel2(Map<String, Object> map);

	List<UrgentApply> searchReviewedLevel1(Map<String, Object> map);

	int countReviewedLevel1(Map<String, Object> map);

	List<UrgentApply> searchReviewedLevel2(Map<String, Object> map);

	int countReviewedLevel2(Map<String, Object> map);

	List<UrgentApply> searchbyprojectitem(Map<String,Object> map);

	List<UrgentApply> searchbylevel1(Map<String, Object> map);

	int countbylevel1(Map<String, Object> map);

	int insertorupdate(Integer id, Integer projectitemid, Integer projectitemchildid, String urgentdate, String content, Integer status,
			int createrid, String createip, MultipartFile[] images);

	int remove(int id);

	

}
